package com.springboot.admin.entity;

import java.io.Serializable;

// Serializable 支持redis序列化
public class PagesDto implements Serializable {
 private String title;
 private String content;
 private String createDate;
 private int cate;
 private int id;
 private String uid;
 private int page;
 private int pageSize;
 private int views;
 private int comments;
 private String cateName;
 private String keywords;
 private String createBy;

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public int getCate() {
        return cate;
    }

    public void setCate(int cate) {
        this.cate = cate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public int getComments() {
        return comments;
    }

    public void setComments(int comments) {
        this.comments = comments;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "PagesDto{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", createDate='" + createDate + '\'' +
                ", cate=" + cate +
                ", id=" + id +
                ", uid='" + uid + '\'' +
                ", page=" + page +
                ", pageSize=" + pageSize +
                ", views=" + views +
                ", comments=" + comments +
                ", cateName='" + cateName + '\'' +
                ", keywords='" + keywords + '\'' +
                ", createBy='" + createBy + '\'' +
                '}';
    }
}
